Api.WriteAxisCustomOutput1 方法

將值寫入 IntervalZeroDevices databaseUserDevices database 中新增的第一個自定義輸出變數,您可使用 KINGSTAR ESI 匯入工具新增兩個自定義輸出變數。

命名空間IntervalZero.KINGSTAR.Local.Api

組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

語法

C#VB
public KsError WriteAxisCustomOutput1(
       int Index,
       uint Value
)
Public Function WriteAxisCustomOutput1(
       Index As Integer,
       Value As UInteger
) As KsError

參數

Index

型別:int

軸索引。索引以 0 為起始;別名將影響此參數。

 

Value

型別:uint

寫入第一個自定義輸出變數的值。

回傳值

型別:KsError

方法的回傳代碼。

可用的 EtherCAT 狀態

ecatOP

範例

C#
N/A

參見

Api 類別

IntervalZero.KINGSTAR.Local.Api 命名空間